package com.rdxer.repository;

import com.rdxer.model.Major;
import com.rdxer.model.PaperQuestionRelation;
import com.rdxer.model.Question;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;


public interface PaperQuestionRelationRepository extends JpaRepository<PaperQuestionRelation,String>,JpaSpecificationExecutor<PaperQuestionRelation>{

    List<PaperQuestionRelation> findAllByPaperIdOrderByIdx(String id);
}
